package cn.cque.dao;

import cn.cque.entity.OrderItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @author: XWC
 * @InterfaceName: OrerItemDao
 * @Date: 2020/10/5
 * @Time: 14:45
 * @Description:
 */
public interface OrderItemDao {
    int insert(OrderItem orderItem);

    List<OrderItem> findListByOid(@Param("oid") String id);

    Integer deleteItemById(@Param("itemid") String id);
}
